package cn.com.aiton.common.model.greenwave;

import cn.com.aiton.common.model.BaseDomain;
import cn.com.aiton.common.model.NodeDomain;

import java.util.List;


public class GreenWaveDomain extends BaseDomain {

    private String greenWaveName;
    /** 0：不可用 ；1：可用； */
    private Integer greenWaveEnable;
    /**     * 节点列表     */
    private List<GreenWaveNodesDomain> nodeDomains;



    public GreenWaveDomain() {
    }

    @Override
    public String toString() {
        return "GreenWaveDomain{" +
                "greenWaveName='" + greenWaveName + '\'' +
                ", greenWaveEnable=" + greenWaveEnable +
                ", nodeDomains=" + nodeDomains +
                '}';
    }

    public GreenWaveDomain(String greenWaveName, Integer greenWaveEnable, List<GreenWaveNodesDomain> nodeDomains) {
        this.greenWaveName = greenWaveName;
        this.greenWaveEnable = greenWaveEnable;
        this.nodeDomains = nodeDomains;
    }

    public List<GreenWaveNodesDomain> getNodeDomains() {
        return nodeDomains;
    }

    public void setNodeDomains(List<GreenWaveNodesDomain> nodeDomains) {
        this.nodeDomains = nodeDomains;
    }

    public String getGreenWaveName() {
        return greenWaveName;
    }

    public void setGreenWaveName(String greenWaveName) {
        this.greenWaveName = greenWaveName;
    }

    public Integer getGreenWaveEnable() {
        return greenWaveEnable;
    }

    public void setGreenWaveEnable(Integer greenWaveEnable) {
        this.greenWaveEnable = greenWaveEnable;
    }


}
